#include "../server.h"

extern SVC_FUNC(GETTS);
extern SVC_FUNC(DIFFTS);
extern SVC_FUNC(ENCRYPT);
extern SVC_FUNC(DECRYPT);
extern SVC_FUNC(SIGN);
extern SVC_FUNC(VERIFY);
extern SVC_FUNC(ENCSIGN);
extern SVC_FUNC(VRFYDEC);

extern SVC_FUNC(MAKEUSERPASSWD);
extern SVC_FUNC(VERIFYUSERPASSWD);
extern SVC_FUNC(DECUSERPASSWD);
extern SVC_FUNC(ENCUSERMSG);
extern SVC_FUNC(DECUSERMSG);

extern SVC_FUNC(HELLO);

struct svc_map SVC_MAP[]=
{/*{{{*/
    { "GETTS", SVC_FUNC_GETTS },
    { "DIFFTS", SVC_FUNC_DIFFTS },
    { "ENCRYPT", SVC_FUNC_ENCRYPT },
    { "DECRYPT", SVC_FUNC_DECRYPT },
    { "SIGN", SVC_FUNC_SIGN },
    { "VERIFY", SVC_FUNC_VERIFY },
    { "ENCSIGN", SVC_FUNC_ENCSIGN },
    { "VRFYDEC", SVC_FUNC_VRFYDEC },
    { "MAKEUSERPASSWD", SVC_FUNC_MAKEUSERPASSWD },
    { "VERIFYUSERPASSWD", SVC_FUNC_VERIFYUSERPASSWD },
    { "DECUSERPASSWD", SVC_FUNC_DECUSERPASSWD },
    { "ENCUSERMSG", SVC_FUNC_ENCUSERMSG },
    { "DECUSERMSG", SVC_FUNC_DECUSERMSG },
    { "HELLO", SVC_FUNC_HELLO }
};/*}}}*/
unsigned int SVC_MAP_SIZE=
sizeof(SVC_MAP)/sizeof(struct svc_map);
